<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>    
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<s:include value="/WEB-INF/content/common/header.jsp" />
<h1>Employee home</h1>
<div class="row well">
    <ul class="nav nav-pills">
    
    	<s:url var="urlViewHomePage" action="viewHomePage" namespace="/employee"/>
    
    	<li><s:a href="%{urlViewHomePage}">Home</s:a></li>
    	<li class="active"><a href="#">Employee</a></li>
   		<li><a href="#">Settings</a></li>
    </ul>
</div>    

<s:url var="urlAddEmployee" action="viewAddEmployeePage" namespace="/employee"/>
<s:a href="%{urlAddEmployee}" cssClass="btn btn-primary btn-xs " role="button">Add Employee</s:a>

<s:url var="urlEmployeeList" action="viewEmployeeList" namespace="/employee"/>
<sj:a href="%{urlEmployeeList}" cssClass="btn btn-primary btn-xs " role="button" targets="targetDiv">View</sj:a>

<p>                                                  </p>
<div class="row col-md-4 col-md-offset-1" id ="targetDiv" >

</div>


 <s:include value="/WEB-INF/content/common/footer.jsp" />